import { IFeidaoAiBrowserComponent } from "@feidao/web/interfaces";
import Select from "@feidao/widgets/fd-w000005";

export default async function a003(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	const select = fd.data.node.querySelector<Select>('[data-feidao-id="fd-w000005-001"]');
	const value = select.value;

	fd.data.node.querySelector<HTMLAreaElement>('[data-feidao-id="fd-w000005-003"]').innerHTML = `
const select = fd.data.node.querySelector<Select>('[data-feidao-id="fd-w000005-001"]');
const value = select.value;

value == ${JSON.stringify(value)}
	`;
}
